# Rrhelper will include many helpful methods for RoadRunner

module RoadRunnerModule

  def iterationId
    if(@mode=='thread')then
      @thread_pool[Thread.current][:iterationId]
    else
      @iterationId
    end
  end

  def userId
    if(@mode=='thread')then
      @thread_pool[Thread.current][:userId]
    else
      @userId
    end
  end

  module Rrhelper

  end
  
end